/**
 * 
 */
package com.jie.eclipse.pan.gef.dialog;

import org.eclipse.swt.widgets.Shell;

import com.jie.eclipse.pan.data.BaseDataEntity;
import com.jie.eclipse.pan.form.item.Panel;
import com.jie.eclipse.pan.form.item.Spanel;

/**
 * @author yanjie
 *
 */
public class SpDialog extends BasePanelDialog{

	/**
	 * @param parentShell
	 * @param data
	 */
	public SpDialog(Shell parentShell, BaseDataEntity data,String action) {
		super(parentShell, data,action);
//		this.setNodeName("jm:sp");
	}
	
	@Override
	public String getTitle() {
		return "搜索表单设置";
	}
	
	@Override
	public void initDefaultData() {
		super.initDefaultData();
		BaseDataEntity defaultData = this.getDefaultData();
		if(defaultData == null)
			defaultData = new BaseDataEntity();
		defaultData.spsv("id", "sp1");
		this.setDefaultData(defaultData);
	}
	
	@Override
	public String getFirstTabName() {
		return "基本";
	}
	
	public String getSecTabName() {
		return "高級";
	}

}
